<template>
  <div class="header">
    城市选择

    <div @click="tohome" class="iconfont header-back">&#xe61e;</div>
  </div>
</template>

<script>
export default {
  name: 'cityheader',
  methods: {
    tohome() {
      this.$router.push('/')
    }
  }
}
</script>

<style scoped>
.header {
  height: 0.86rem;
  line-height: 0.86rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #00bcd4;
  font-size: 0.32rem;
  position: relative;
}
.header-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.64rem;
  text-align: center;
  font-size: 0.4rem;
  color: #fff;
}
</style>